package android.app.betmein.activity;

import viewmodel.MasterPageViewModel;
import android.app.betmein.R;
import android.app.betmein.view.MultipleMasterPageView;
import android.framework.paging.BaseViewInitializer;

public abstract class MultipleMasterPageActivity extends NavigationBaseActivity{
	
	private MultipleMasterPageView view;
	
	@Override
	public BaseViewInitializer getView() {
		MasterPageViewModel vm = new MasterPageViewModel(this);
		view = new MultipleMasterPageView(vm, this, R.layout.multiple_master_page);
		vm.setView(view);
		return view;
	}
	
	protected void addNewView(BaseViewInitializer view){
		this.view.addNewView(view);
	}
}
